/*
nav 
*/
nav {
  display: flex;
  padding: 0.5rem 1rem;
  justify-content: space-between;
  align-items: center;
  background-color: #01a9c0;
}

.left_nav,
.right_nav {
  display: flex;
  align-items: center;
}

/* 二级的图片 */
.left_nav .nav_le2 a:nth-child(1){
  background-image: url(../images/zix_nav.jpg);
  background-size: cover;
}
.left_nav .nav_le2 a:nth-child(2){
  background-image: url(../images/lin_nav.jpg);
  background-size: cover;
}
.left_nav .nav_le2 a:nth-child(3){
  background-image: url(../images/team_nav.jpg);
  background-size: cover;
}


.nav-item{
  position: relative;
  display: block;
  margin-right: 1rem;
  color: white;
}

.right_nav .nav-item:nth-child(2){
  margin-right: 0;
}


.nav_le1>.user_img{
  position: relative;
}

.user_img {
  margin: auto 1rem;
  width: 1.5rem;
  height: 1.5rem;
  background-size: cover;
  cursor: pointer;
  border-radius: 50%;
}
.user_name{
  margin: 0;
  /* color:#f8f2ab;  */
  text-transform: capitalize;
}

/* 
二级导航栏
*/

.nav_le1 {
  border-top: 1px solid transparent;
}
.nav_le2{
  display: none;
  position: absolute;
  z-index: 999;
  top: 3rem;
  box-sizing: border-box;
  padding: 1rem 0;
  justify-content: space-around;
  background-color: white;
  opacity: 1;
  transition: opacity 0.15s;
}
.left_nav .nav_le2{
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 90vw;
}
.right_nav .nav_le2{
  display: none;
  flex-direction: column;
  top: 2rem;
  right: 0;
  padding: 0;
}
.right_nav .nav_le2 a,
.right_nav .nav_le2 .user_name
{
  font-size: 0.8rem;
  text-align: right;
  min-width:6rem;
  padding: 0.5rem;
}

.right_nav>.nav_le1{
  position: relative;
}


/* 
小三角样式
*/
.nav_le1>a::after{
  border: 1rem solid transparent;
  top: 1.2rem;
}

.nav_le1>.user_img::after{
  border: 1rem solid transparent;
  transform: scale(0.6,0.6);
  top: 0.5rem;
}


.nav_le1>a::after,
.nav_le1>.user_img::after{
  display: none;
  position: absolute;
  left: calc(50% - 1rem);
  content: "";
  border-bottom-color: white;
  opacity: 1;
  transition: opacity 0.3s;
}
/* 
淡入淡出效果
*/
.nav_le1:hover .nav_le2 {
  display: flex;
  animation: opc 0.15s 1;
}

.nav_le1:hover a::after,
.nav_le1:hover .user_img::after {
  display: block;
  animation: opc 0.15s 1;
}
@keyframes opc 
{
  from{opacity: 0;}
  to{opacity: 1;}
}
/* 
淡入淡出效果
*/
.left_nav .nav_le2 a {
  width: 12.5%;
  text-align: center;
  padding: 6.25vw 0;
  background-color: rgb(127, 255, 165);
}
/* 
淡入淡出效果
*/


.out_login, .enter_back {
  color: rgb(247, 211, 134);
}

.enter_back:hover {
  color: rgb(245, 220, 167);
}